package gupao.design.factory.abstractfactory;

import gupao.design.factory.ICourse;
import gupao.design.factory.PythonCourse;

/**
 * @author: liuchenhui
 * @create: 2019-04-14 15:00
 **/
public class PythonFactory implements IFactory {
    @Override
    public ICourse createCourse() {
        return new PythonCourse();
    }

    @Override
    public INote createNote() {
        return new PythonNote();
    }

    @Override
    public IVideo ceateVideo() {
        return new PythonVideo();
    }
}
